package day07;

public class OverLoadDemo {
    public static void main(String[] args) {
        show();
        show(25);
        show("lu");
        show(22,"lu");
        show("asd",2222);
    }
    public static void show(){}
    public static void show(String name){}
    public static void show(String name,int age){
        System.out.println("名字"+name+"年龄"+age);
    }
    public static void show(int age,String name){
        System.out.println("年龄"+age+"名字"+name);
    }
    public static void show(int age){
        System.out.println("年龄"+age);
    }

}
